package com.dys.designpattern.simplefactory.dstributeprizes.service;

import com.alibaba.fastjson2.JSON;
import com.dys.designpattern.simplefactory.dstributeprizes.entity.SmallGiftInfo;

/**
 * @Author: 疾风
 * @ClassName: SmallGiftService
 * @Description: 模拟发放小礼品服务
 * @CreateDate: 2024/05/11
 * @Version: v1.0.0
 */
public class SmallGiftService {

    public Boolean giveSmallGift(SmallGiftInfo smallGiftInfo) {
        System.out.println("小礼品已发货,获奖用户注意查收! " + JSON.toJSON(smallGiftInfo));
        return true;
    }
}
